#ifndef VIDEO_H
#define VIDEO_H

#include "common.h"

class Video
{
private:
	static SDL_Surface *gpScreen;
	//static SDL_Surface *gpScreenBak;
	static SDL_Surface *gpScreenReal;
	static SDL_Surface *Number;
public:
	friend class Text;
	static int Init(void);
	static void Shutdown(void);
	static void Update(void);
	static void Clear(SDL_Rect* r = NULL);
	static void DrawLine(short, short, unsigned char, unsigned char);
	static void DrawRect(short, short, unsigned char, unsigned char);
	static void DrawCircle(short, short, unsigned char);
	static void DrawImage(SDL_Surface*, int, int);
	static void FillRect(short, short, unsigned char, unsigned char);
	static void FillCircle(short, short, unsigned char);
	static int DrawPtNumber(short, short, int);
	static void DrawScoreNumber(unsigned char, unsigned char, int);
};
#endif